Skip to content

Instantly share code, notes, and snippets.

// marantz wired remote control demo
// inspired by https://github.com/Arduino-IRremote/Arduino-IRremote
// see https://smallhacks.wordpress.com/2021/07/07/controlling-marantz-amplifier-using-arduino-via-remote-socket/
/* some definitions from the IRremote Arduino Library */
#define RC5_ADDRESS_BITS 5
#define RC5_COMMAND_BITS 6
#define RC5_EXT_BITS 6
#define RC5_COMMAND_FIELD_BIT 1
#define RC5_TOGGLE_BIT 1
@tommyettinger
tommyettinger / mulberry32.c
Last active November 21, 2026 20:51
Mulberry32 PRNG
/* Written in 2017 by Tommy Ettinger (tommy.ettinger@gmail.com)
To the extent possible under law, the author has dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
See <http://creativecommons.org/publicdomain/zero/1.0/>. */
#include <stdint.h>
@adasThePrime
adasThePrime / README.md
Last active November 21, 2026 20:42
A complete guide to installing Windows 11 IoT LTSC - a lightweight, bloat-free edition with no ads, no forced updates, and relaxed hardware requirements. Perfect for Windows 10 users whose devices don't meet standard Windows 11 requirements, or anyone seeking a clean, stable Windows experience without the bloat.

Windows 11 IoT LTSC: The Edition That Doesn't Suck

Stop chasing Windows 11 alternatives or experimenting with risky third-party builds to upgrade from Windows 10 or trying to debloat mainstream editions. The ideal solution is already available: Windows 11 IoT LTSC.

It's a lightweight, stable, and bloat-free edition of Windows 11 that's perfect for productivity, development, or even gaming without the unnecessary apps, ads, or forced updates found in mainstream editions. Best of all, if your PC runs Windows 10 well, it'll handle Windows 11 IoT LTSC just as smoothly, with no performance drop or compatibility issues.

In this guide, I'll walk you through everything you need to know about Windows 11 IoT LTSC: how to prepare your system, install the OS, and configure it for daily use. By the end, you'll have a streamlined Windows setup perfect for productivity, development, or even gaming without the baggage of mainstream editions.

At the time of writing, the latest releas

@MatthewRalston
MatthewRalston / roflcopter.md
Created February 14, 2018 19:03
ROFLcopter ASCII text art

ROFLcopter ASCII

If you hear SOI SOI SOI, you better RUN RUN RUN ’cause the ROFLCOPTER ASCII army is coming for you!

THE ORIGINAL ROFLCOPTER

 ROFL:ROFL:ROFL:ROFL
         _^___
 L __/ [] \
@sleepyfox
sleepyfox / masterpiece-engineering-simpson-1969.md
Last active November 21, 2026 20:19
Masterpiece Engineering, T. H. Simpson, 1969

Software Engineering, 1968/69 NATO Conference Garmisch/Rome

Many people are aware that in 1968 an inaugural conference in Software Engineering was held in Garmisch, Germany under the auspices of NATO, and that a follow-up conference was organised the next year, 1969 in Rome, Italy.

Although the reports from those two conferences are reasonably well distributed, if not perhaps as well read, there exists an appendix that the report editor, Brian Randell, notes:

Unlike the first conference, at which it was fully accepted that the term software engineering 
expressed a need rather than a reality, in Rome there was already a slight tendency to talk as 
if the subject already existed. And it became clear during the conference that the organizers 
@Myndex
Myndex / GitHubFlavoredMarkdown.md
Last active November 21, 2026 20:18 — forked from joshuapekera/markdown
GitHub Flavored Markdown Cheat Sheet

What's Up With Markdown

GitHub Flavored Markdown Cheat Sheet

This serves as a quick reference and showcase of GitHub Flavored Markdown. Starting as a fork, this gist has been substantially revised to include the latest features of GitHub flavored markdown. For more complete info, see John Gruber's original spec and the Github-flavored Markdown info page.

Table of Contents

Blockquotes

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@bthuillier
bthuillier / debuggable.scala
Last active November 21, 2026 20:07
Full Working Example For article
//> using scala 3.8.3
//> using options -feature -language:strictEquality -Wunused:all -Wsafe-init -deprecation
import java.util.UUID
import scala.deriving.Mirror
import scala.compiletime.*
import scala.language.implicitConversions
trait Debuggable[T] {
extension (x: T) def debug: String